package com.wintop.youyuan.dao;

import java.util.List;

import com.wintop.youyuan.model.User;

public interface UserDao {
	public boolean addUser(User user,String birthday);

	public User getUser(String userid, String password);

	public User getUser(String userid);

	public User getUser(int id);

	public List<User> getUsers();//获取所以用户

	public boolean updateUser(User user);

	public boolean deleteUser(int id);
}
